﻿using Dapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StoreProject.Entity
{
    [Serializable]
    [Table("Boxnum")]
    public class BoxNumEntity
    {
        [Key]
        public string Id { get; set; }

        /// <summary>
        /// 制令单号
        /// </summary>
        public string OrderId { get; set; }

        /// <summary>
        /// 线型
        /// </summary>
        public string LineType { get; set; }

        /// <summary>
        /// 成品名称
        /// </summary>
        public string FinishedProductName { get; set; }

        /// <summary>
        /// 批号
        /// </summary>
        public string Batch { get; set; }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Operator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 卷号
        /// </summary>
        public string? JuanNum { get; set; }

        /// <summary>
        /// 毛重
        /// </summary>
        public string MaoZhong { get; set; }

        /// <summary>
        /// 整箱数量
        /// </summary>
        public int OneBoxCount { get; set; }

        /// <summary>
        /// 库位
        /// </summary>
        public string Store { get; set; }

        /// <summary>
        /// 总数量
        /// </summary>
        public int AllCount { get; set; }

        /// <summary>
        /// 箱号
        /// </summary>
        public string BoxNum { get; set; }
    }
}
